package com.order.code.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 桌码管理对象 order_code
 * 
 * @author huhu
 * @date 2020-08-19
 */
public class OrderCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 桌码ID */
    private Long deskId;

    /** 桌码图片 */
    @Excel(name = "桌码图片")
    private String deskImg;

    /** 桌码号 */
    @Excel(name = "桌码号")
    private String tableCode;

    public void setDeskId(Long deskId)
    {
        this.deskId = deskId;
    }

    public Long getDeskId()
    {
        return deskId;
    }
    public void setDeskImg(String deskImg)
    {
        this.deskImg = deskImg;
    }

    public String getDeskImg()
    {
        return deskImg;
    }
    public void setTableCode(String tableCode)
    {
        this.tableCode = tableCode;
    }

    public String getTableCode()
    {
        return tableCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deskId", getDeskId())
            .append("deskImg", getDeskImg())
            .append("tableCode", getTableCode())
            .toString();
    }
}
